$("#gridGiaoHangHomNay").jqGrid({        
   	url:'/giaohanghomnay/json/?func=getListGiaoHangHomNay',
	datatype: "json",
   	colNames:['Nhân viên','Đơn hàng đặt', 'In ra'],
   	colModel:[
   		{name:'tenNhanVien',index:'tenNhanVien', width:90, editable:true},
   		{name:'donHangDat',index:'donHangDat', width:90, editable:true},
   		{name:'inRa',index:'inRa', width:80, editable:true},
   	],
   	rowNum:1000,
   	rowList:[1000],
   	pager: '#pGiaoHangHomNay',
   	sortname: 'id',
    viewrecords: true,
    loadonce: false,
    sortorder: "desc",
	jsonReader: {
		repeatitems : false,
		id: "0"
	},
	caption: "Giao hàng hôm nay",
	width: '971',
    height: '100%'
});
jQuery("#gridGiaoHangHomNay").jqGrid('navGrid','#pGiaoHangHomNay',
									{
										edit:false,
										add:false,
										del:false
									});

$(document).ready(function() {
	
	$('#GiaoHang').addClass('Active');
    
});